@extends("layouts.master")
@section('title', '密码提示')
@section("content")
<section>
    <h2>需要重置你的密码？</h2>

        <% Form::open(array('action' => 'RemindersController@postRemind')) %>
            <div class="form-group">
                <% Form::label('email', '邮箱地址:') %>
                <% Form::email('email', null, array('class' => 'form-control', 'placeholder' => '请输入邮箱地址来重置密码')) %>
            </div>
            <div class="form-group">
                <% Form::submit('重置',array('class' => 'btn btn-primary')) %>
            </div>
        <% Form::close() %>

        @if (Session::has('error'))
            <p class="text-danger"><% Session::get('error') %></p>
        @elseif (Session::has('status'))
            <p class="text-success"><% Session::get('status') %></p>
        @endif
</section>
@stop